package com.hs.mapper;

import com.hs.entity.ConsultantLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ConsultantLevelMapper {
    //添加
    Integer addConsultantLevel(ConsultantLevel consultantLevel);
    //删除
    Integer deleteConsultantLevel(Integer id);
    //修改
    Integer updateConsultantLevel(ConsultantLevel consultantLevel);
    //根据id查询
    ConsultantLevel getConsultantLevelById(Integer id);
    //分页查询
    List<ConsultantLevel> getConsultantLevelPage();
}
